home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Utilities / RemoteCommand / Source / AskOperator.h next >
Encoding:
Text File  |  1993-05-06  |  1.1 KB  |  43 lines

  1. // -------------------------------------------------------------------------------------
  2. // AskOperator
  3. // -------------------------------------------------------------------------------------
  4.  
  5. #import <objc/Object.h>
  6.  
  7. // -------------------------------------------------------------------------------------
  8. // remote object port name
  9. #define    ASK_SERVER        "AskSERVER"
  10. #define    ASK_CLIENT        "AskCLIENT"
  11.  
  12. // -------------------------------------------------------------------------------------
  13. typedef struct askOperator_s {
  14.     int                    type;
  15.     char                host[16];
  16.     char                title[80];
  17.     char                message[200];
  18.     char                text[80];
  19.     char                button[4][16];
  20. } askOperator_t;
  21.  
  22. // -------------------------------------------------------------------------------------
  23. @interface AskOperator : Object
  24. {
  25.  
  26.     id                    askPanel;
  27.     id                    askMessage;
  28.     id                    askText;
  29.     id                    askButton1;
  30.     id                    askButton2;
  31.     id                    askButton3;
  32.     id                    askButton4;
  33.  
  34.     const char            *buttonResponse;
  35.     const char            *textResponse;
  36.  
  37. }
  38.  
  39. // -------------------------------------------------------------------------------------
  40. + (const char*)showAskPanel:(askOperator_t*)ao;
  41.  
  42. @end
  43.